//使用RTK 构建 store
import {configureStore} from "@reduxjs/toolkit"
import {userReducer} from "./userReducer.js"
import {crudReducer} from "./crudReducer.js"
// 创建store 用来创建store对象，配置一个对象作为参数
export const store =configureStore(
    {
        reducer:{
            user:userReducer,
            crud:crudReducer,
        }
    }
)